package com.boxedinsoftware.tts.callerID;

import com.google.tts.TextToSpeechBeta;
import com.google.tts.TextToSpeechBeta.OnInitListener;

import android.app.Activity;
import android.os.Bundle;

public class CallerID extends Activity {
	
	private TextToSpeechBeta myTTS;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        myTTS = new TextToSpeechBeta(this, ttsListener);
        setContentView(R.layout.main);
    }
    
    private TextToSpeechBeta.OnInitListener ttsListener = new TextToSpeechBeta.OnInitListener() {

		@Override
		public void onInit(int arg0, int arg1) {
			myTTS.speak("Bruno", 0, null);
			myTTS.stop();
		}
    	
    	
    };
}